package edu.mobbuzz.page.menu;

import com.sun.lwuit.Command;
import com.sun.lwuit.events.ActionListener;


public abstract class Menu{
    
    public abstract String getMenuTitle();
    
    private String stateMenu;
    private Command onlineCmd;
    private Command exitCmd;
    private ActionListener actionlistener;
    
    public Command getOnlineCmd() {
        if(onlineCmd==null){
            onlineCmd = new Command("Go Online"); 
        }        
        return onlineCmd;
    }
    public Command getExitCmd() {
        return exitCmd;
    }

    public void setExitCmd(Command exitCmd) {
        this.exitCmd = exitCmd;
    }
    
    
    public ActionListener getActionlistener() {
        return actionlistener;
    }

    public void setActionlistener(ActionListener actionlistener) {
        this.actionlistener = actionlistener;
    }

    public String getStateMenu() {
        return stateMenu;
    }

    public void setStateMenu(String stateMenu) {
        this.stateMenu = stateMenu;
    }

    
    
    
}

